Skip to content

Update examples.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025
Merged

Update examples.md #3

merged 1 commit into from
Jun 27, 2025

Conversation

BooleanType
Copy link
Contributor

Otherwise there is a syntax error.

Otherwise there is a syntax error.
@Crell
Copy link
Owner

Crell commented Jun 27, 2025

Incorrect. The hook block eliminates the need for the semicolon.

@Crell Crell closed this Jun 27, 2025
@BooleanType
Copy link
Contributor Author

Incorrect. The hook block eliminates the need for the semicolon.

Exactly. And your example in "Lazy/cached properties" section contains semicolons. So code in your example is invalid:

image

@Crell Crell reopened this Jun 27, 2025
@Crell
Copy link
Owner

Crell commented Jun 27, 2025

Oh. Duh, I read the diff backwards. :-)

@Crell Crell merged commit 59e8db6 into Crell:master Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants